/**
 * WebInfo
 *
 * @author shuai
 * @date 2020/4/9
 */
public class WebInfo {
    public void getInfo(String sign) {
        System.out.println("[" + sign + "]调用:" + "WebTest...");

        //WebInfo调用ThirdInfo
        ThirdInfo thirdInfo = new ThirdInfo();
        thirdInfo.getInfo("WebInfo");

        //WebInfo调用SecondInfo
        SecondInfo secondInfo = new SecondInfo();
        secondInfo.getInfo("WebInfo");

        //WebInfo调用FirstInfo
        FirstInfo firstInfo = new FirstInfo();
        firstInfo.getInfo("WebInfo");
    }

    public static void main(String[] args) {
        WebInfo webInfo = new WebInfo();
        webInfo.getInfo("WebInfo");
    }
}
